<%@page import="java.util.ArrayList"%>
<%@page import="custom.Quiz"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>All Quizzes</title>
</head>
<body>

	<%@ include file="header.jsp" %>
	<center><div style="width: 800px; background-color:rgb(256, 256, 230)" align="left">

				<p align="center"> All Quizzes </p>
		<%
				ArrayList<Integer> quizIds = Quiz.getAllQuizzes();
				for(int i=0; i< quizIds.size(); i++){
					out.print(Quiz.getNameHtml(quizIds.get(i)));
				}
		%>
		
	</div></center>
</body>
</html>